package com.git.smp.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.git.smp.entity.Menu;
import com.git.smp.entity.MenuExtend;

public interface MenuMapper {
    int deleteByPrimaryKey(String name);

    int insert(Menu record);

    int insertSelective(Menu record);

    Menu selectByPrimaryKey(String name);

    int updateByPrimaryKeySelective(Menu record);

    int updateByPrimaryKey(Menu record);

	List<Menu> select(Menu menu);

	int delete(Menu menu);

	List<Menu> getMenusByUserId(@Param("applyUser") String applyUser);
	
	List<MenuExtend> getMenuList();
	
	List<Menu> getParent();
}